package com.pz.cloud.framework.business.leagueMem.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pz.cloud.framework.base.model.BaseEntity;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 团员
 * @Author: jeecg-boot
 * @Date:   2020-11-28
 * @Version: V1.0
 */
@Data
@TableName("league_mem")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="league_mem对象", description="团员")
public class LeagueMem extends BaseEntity {
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

	/**政治面貌*/
	@Excel(name = "政治面貌", width = 15, dicCode = "political_outlook")
	@Dict(dicCode = "political_outlook")
    @ApiModelProperty(value = "政治面貌")
    private String politicalStatus;

	/**毕业状态*/
	@Excel(name = "毕业状态", width = 15, dicCode = "graduate")
	@Dict(dicCode = "graduate")
    @ApiModelProperty(value = "毕业状态")
    private String graduateStatus;

	/**入团时间*/
	@Excel(name = "入团时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入团时间")
    private Date joinTime;

    /**学号*/
    @Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    @TableField(exist = false)
    private String stdNo;

    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    private String realname;

    @Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    @Dict(dicCode = "sex")
    @TableField(exist = false)
    private String sex;

	/**学院*/
	@Excel(name = "学院", width = 15)
    @ApiModelProperty(value = "学院")
    @TableField(exist = false)
    private String college;

	/**专业*/
	@Excel(name = "专业", width = 15)
    @ApiModelProperty(value = "专业")
    @TableField(exist = false)
    private String major;

	/**年级*/
	@Excel(name = "年级", width = 15)
    @ApiModelProperty(value = "年级")
    @TableField(exist = false)
    private String grade;

	/**班级*/
	@Excel(name = "班级", width = 15)
    @ApiModelProperty(value = "班级")
    @TableField(exist = false)
    private String clazz;
}
